home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- function setMode(m)
- {
- if(m == "good")
- {
- this._visible = true;
- setScale(100);
- }
- else if(m == "bad")
- {
- setScale(100);
- }
- else if(m == "ugly")
- {
- setScale(100);
- }
- else
- {
- this._visible = false;
- setScale(100);
- }
- }
- function setScale(s)
- {
- this._xscale = s;
- this._yscale = s;
- }
- this._visible = false;
- this.colorHandle = new color(this);
- this.colorTransformOriginal = this.ColorHandle.getTransform();
- this.colorTransformRed = new Object();
- this.colorTransformRed.ra = 70;
- this.colorTransformRed.rb = 70;
- this.colorTransformRed.ga = 0;
- this.colorTransformRed.gb = 0;
- this.colorTransformRed.ba = 0;
- this.colorTransformRed.bb = 0;
- this.colorTransformRed.aa = 70;
- this.colorTransformRed.ab = 70;
- this.colorTransformGreen = new Object();
- this.colorTransformGreen.ra = 0;
- this.colorTransformGreen.rb = 0;
- this.colorTransformGreen.ga = 70;
- this.colorTransformGreen.gb = 70;
- this.colorTransformGreen.ba = 0;
- this.colorTransformGreen.bb = 0;
- this.colorTransformGreen.aa = 70;
- this.colorTransformGreen.ab = 70;
- this.colorTransformGrey = new Object();
- this.colorTransformGrey.ra = 30;
- this.colorTransformGrey.rb = 0;
- this.colorTransformGrey.ga = 30;
- this.colorTransformGrey.gb = 0;
- this.colorTransformGrey.ba = 30;
- this.colorTransformGrey.bb = 0;
- this.colorTransformGrey.aa = 70;
- this.colorTransformGrey.ab = 70;
- }
-